package actions;

import java.awt.event.ActionEvent;

import client_gui.BlockListDialog;
import client_gui.ClientWindow;

public class BlockListAction extends RLMAbstractAction {

	public BlockListAction(ClientWindow owner) {
		setActionOwner(owner);
//		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F6, 0));
		putValue(SMALL_ICON, loadIcon("images/block_list.png"));
		putValue(NAME, "Block List");
		putValue(SHORT_DESCRIPTION, "Lista blokiranih korisnika");
	}
	
	
	public void actionPerformed(ActionEvent e) {
		BlockListDialog blockListDialog = new BlockListDialog(getActionOwner());
		blockListDialog.setVisible(true);
	}
}
